//
//  ReplyModel.m
//  yunqiphone
//
//  Created by Maple on 14-3-17.
//  Copyright (c) 2014年 ci123.com. All rights reserved.
//

#import "ReplyModel.h"

@implementation ReplyModel

- (NSDictionary *)attributeMapDictionary {
  NSDictionary *mapAtt = @{
                           @"replyPostId":@"post_id",
                           @"replyId":@"id",
                           @"replyUserId":@"uid",
                           @"replyQuoteUid":@"rereply_id",
                           @"replyContent":@"content",
                           @"replyShowDated":@"time",
                           @"replyUserNick":@"uname",
                           @"replyUserHead":@"uavatar",
                           @"replyUserPic":@"pic",
                           @"replyQuoteNick":@"reuname",
                           @"replyQUserHead":@"reuavatar",
                           @"replyQuoteContent":@"rereply_content",
                           @"replyUserPicWidth":@"picwidth",
                           @"replyUserPicHeight":@"picheight"
                           };
  return mapAtt;
}

- (void)setAttributes:(NSDictionary *)dataDic {
  //将字典数据根据映射关系填充到当前对象的属性上。
  [super setAttributes:dataDic];
}

@end
